﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace LprConfiger.Winform.Model
{
    class Camera
    {
        public string StationId { get; set; }
        public string StationName { get; set; }
        public string DirectionId { get; set; }
        public string DirectionName { get; set; }

        public string Ip { get; set; }
        public int HistoryImageCount { get; set; }
        public int HistoryVideoCount { get; set; }

        public float NearCameraStretchFactor { get; set; }
        public float FarCameraStretchFactor { get; set; }

        public Point LeftTop { get; set; }
        public Point RightTop { get; set; }
        public Point LeftBottom { get; set; }
        public Point RightBottom { get; set; }
        public int LaneWidht { get; set; }
        public int LaneLength { get; set; }

        public bool PrintStationName { get; set; }
        public bool PrintLaneNo { get; set; }
        public bool PrintCaptureTime { get; set; }
        public bool PrintLprNo { get; set; }
        public bool PrintSpeed { get; set; }

        public int LaneStartNo { get; set; }
        public IList<Lane> Lanes { get; private set; }

        public Camera()
        {
            Lanes = new List<Lane>();
        }
    }
}
